export default {
  namespaced: true,
  state() {
    return {
      age: 16,
    };
  },
  getters: {
    dbAge(state, getters, rootState) {
      console.log("state", state);
      console.log(rootState);
      return state.age * 2;
    },
  },
  mutations: {
    changeAge(state, age) {
      console.log("触发hehe模块mutations");
      state.age = age;
    },
  },
};
